Two-pass MPEG-2 variable-bit-rate encoding

نویسندگان

  • Peter H. Westerink
  • Rajesh Rajagopalan
  • Cesar A. Gonzales
چکیده

Many MPEG-2 encoding applications are realtime; this implies that the video signal must be encoded with no significant lookahead. However, there exist non-real-time applications that do enable us to first analyze a video sequence entirely, and, using the analysis results, to optimize a second encoding pass of the same data. One example of such an application is the digital video disk (DVD), which is designed to facilitate a variable-bit-rate (VBR) output stream. In that case, it is possible to let the MPEG-2 encoder produce a video sequence with a constant visual quality over time. This is in contrast to constant-bit-rate (CBR) systems, where the rate is constant but the visual quality varies with the coding difficulty. This paper describes a two-pass encoding system that has as its objective to produce an optimized VBR data stream in a second pass. In a first pass, the video sequence is encoded with CBR, while statistics concerning coding complexity are gathered. Next, the first-pass data is processed to prepare the control parameters for the second pass, which performs the actual VBR compression. In this off-line processing stage, we determine the target number of bits for each picture in the sequence, such that we realize the VBR objective. This means that the available bits are appropriately distributed over the different video segments such that constant visual quality is obtained. To be able to quantify the constant visual quality, perceptual experiments are described and a practical model is fitted to them. Exceptional cases such as scene changes and fades are detected and dealt with appropriately. We also ensure that the secondpass compression process does not violate the decoder buffer boundaries. Finally, the encoding is performed again, but now under control of the processed first-pass data. During the running of this second pass, a run-time bit-production control mechanism monitors the accuracy and validity of the firstpass data, correcting errors in prediction and observing the buffer boundaries. Results are compared to CBR operation.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Two-pass Rate Control for Constant Quality H.264/avc High Definition Video Coding

In this paper, we propose a novel rate control algorithm that adopts two−pass encoding to provide constant quality for H.264/AVC high definition videos. In the first−pass encoding, the rate and distortion information of each frame is collected to model the frame scene complexity. In the second−pass encoding, a GOP−level bit allocation scheme is designed to determine the bit rate and the expecte...

متن کامل

HRD compliant single pass H.264/AVC VBR Encoding Mode

The goal of Variable Bit-Rate (VBR) encoding is to maintain a constantly high visual quality within the target bit-rate, during whole encoding process, thus saving and accumulating bits during low complexity scenes and reusing those bits in higher complexity scenes. Such a goal can be quite easily achieved by off-line encoding, since it is possible to measure the whole sequence complexity distr...

متن کامل

bit - rate MPEG - 2 video compression

Most real-time MPEG-2 encoders are designed to perform in a constant-bit-rate (CBR) mode, in which buffer constraints are imposed to circumvent large deviations from a desired rate at any instant in time. Although such streams are generally good-quality sequences, certain types of operations or environments call for a more efficient real-time CBR encoder. The first part of the paper describes h...

متن کامل

Efficient coding of DCT coefficients by joint position-dependent encoding

In a typical MC-DCT encoding scheme, a large portion of the bit rate is used to encode the location and amplitude information of the nonzero quantized DCT coe cients. Therefore e cient encoding of the DCT coe cients is extremely important. In this paper we describe the Joint Position-Dependent Encoding (PDE) approach to encode the DCT coe cients. Joint PDE exploits the variations in statistical...

متن کامل

MPEG-4 rate control algorithm using Laplace parameter estimation

A new MPEG-4 rate control algorithm is proposed to calculate the quantization parameter for given target bit rate. The rate-distortion method models the AC DCT coefficients as Laplacian random variables. Derived from the MPEG-4 variable-length code/run-length code (VLC/ RLC) table, the new model accurately predicts the rates and the distortions of an intra frame for all range of quantization pa...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • IBM Journal of Research and Development

دوره 43  شماره 

صفحات  -

تاریخ انتشار 1999